package top.xtcoder.jdcbase.base.entity;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;

import io.swagger.annotations.ApiModelProperty;

public class BaseVersionEntity extends BaseEntity{
	
	@Column("version")
	@ColDefine(notNull=false, type=ColType.INT)
	@Comment(value="数据版本")
	@ApiModelProperty("数据版本")
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}
}
